package com.ylt.service.impl;

import com.ylt.dao.oracledb.YLT_ORDER_HEADERMapper;
import com.ylt.entity.YLT_ORDER_HEADER;
import com.ylt.service.YltOrderHeaderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 地址信息
 */
@Service
public class YltOrderHeaderServiceImpl implements YltOrderHeaderService {

    @Autowired
    YLT_ORDER_HEADERMapper ylt_order_headerMapper;

    @Override
    public List<Map<String, Object>> selectSEQ_YLT_ORDER_HEADER(Map<String, Object> resMap) {
        List<Map<String, Object>> userDomains = ylt_order_headerMapper.selectSEQ_YLT_ORDER_HEADER(resMap);
        //PageInfo result = new PageInfo(userDomains);
        return userDomains;
    }

    @Override
    public int insertOrderHeader(Map<String, Object> map) {
        int res = ylt_order_headerMapper.insertOrderHeader(map);
        return res;
    }

    @Override
    public List<Map<String, Object>> selectByShopRel(Map<String, Object> map) {
        List<Map<String, Object>> userDomains = ylt_order_headerMapper.selectByShopRel(map);
        //PageInfo result = new PageInfo(userDomains);
        return userDomains;
    }

    @Override
    public List<Map<String, Object>> getSPJCXX(Map<String, Object> map) {
        List<Map<String, Object>> userDomains = ylt_order_headerMapper.getSPJCXX(map);
        //PageInfo result = new PageInfo(userDomains);
        return userDomains;
    }

    @Override
    public List<Map<String, Object>> selectZje(Map<String, Object> map) {
        List<Map<String, Object>> userDomains = ylt_order_headerMapper.selectZje(map);
        //PageInfo result = new PageInfo(userDomains);
        return userDomains;
    }

    @Override
    public int updateGWC(Map<String, Object> record) {
        int res = ylt_order_headerMapper.updateGWC(record);
        return res;
    }

    @Override
    public int updateByPrimaryKeySelective(YLT_ORDER_HEADER record) {
        int res = ylt_order_headerMapper.updateByPrimaryKeySelective(record);
        return res;
    }

    @Override
    public List<Map<String, Object>> F_GETDJForLine(Map<String, Object> map) {
        List<Map<String, Object>> userDomains = ylt_order_headerMapper.F_GETDJForLine(map);
        //PageInfo result = new PageInfo(userDomains);
        return userDomains;
    }

    @Override
    public List<Map<String, Object>> F_GETDJZDJForLine(Map<String, Object> map) {
        List<Map<String, Object>> userDomains = ylt_order_headerMapper.F_GETDJZDJForLine(map);
        //PageInfo result = new PageInfo(userDomains);
        return userDomains;
    }
}

